package com.spring.until;

import java.util.HashMap;

public class Recording {
    private static HashMap<String,String> MessageMap ;
    private static HashMap<String,String> EmailMap ;

    private static void putMessageRecord(String phone,String code){
        MessageMap.put(phone,code) ;
    }

    private static void putEmailRecord(String email,String code){
        EmailMap.put(email,code)  ;
    }

    private static String getMessageRecord(String phone){
        return MessageMap.get(phone) ;
    }

    private static String getEmailRecord(String email){
        return EmailMap.get(email) ;
    }
}
